import axios from './createAxios'

export const checkNum = params => { return axios.get('user/loginByCheckNum', {params: params}) }

export const checkVerificationCode = params => { return axios.get('user/checkVerificationCode', {params: params}) }

export const checkDistinct = params => { return axios.get('user/checkDistinct', {params: params}) }

export const loginByPsw = params => { return axios.get('user/loginByPsw', {params: params}) }

export const addUser = params => { return axios.get('user/addUser', {params: params}) }

export const queryInvitationCode = params => { return axios.get('user/queryInvitationCode', {params: params}) }

export const selectInvitationCode = params => { return axios.get('user/selectInvitationCode', {params: params}) }

export const updateUser = params => { return axios.get('user/updateUser', {params: params}) }

export const queryAuthenticationInfo = params => { return axios.get('user/queryAuthenticationInfo', {params: params}) }

export const queryUserPhoneInfo1 = params => { return axios.get('authentication/queryUserPhoneInfo1', {params: params}) }

export const queryUserPhoneInfo5 = params => { return axios.get('authentication/queryUserPhoneInfo5', {params: params}) }

export const queryUserPhoneInfo4 = params => { return axios.get('authentication/queryUserPhoneInfo4', {params: params}) }

export const queryUserPhoneInfo3 = params => { return axios.get('authentication/queryUserPhoneInfo3', {params: params}) }

export const queryUserPhoneInfo6 = params => { return axios.get('authentication/queryUserPhoneInfo6', {params: params}) }

export const getUserPhone = params => { return axios.get('user/queryUserPhone', {params: params}) }
